#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QtMath>
#include <QFileDialog>
#include <QMessageBox>
#include <QStandardPaths>

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    Ui::Widget *ui;

    //parameters
    QVector<double> x,y,z;
    int num0;
    double num;
    double v;
    double deg;
    double gold,pi;
    QString result;
    QString output;
    QString xyz;

    //path
    QString savepath;
    QStringList desktop;

    //function
    void Calculate();
    void Export();

};
#endif // WIDGET_H
